package sysu.el.graph.tree;

/**
 * Design is raw, but is effiecent
 * @author Edwin
 *
 */
public class FastFCTreeTopo {
	public FatherTreeTopo ft;
	public ChildrenTreeTopo ct;
	
	public FastFCTreeTopo(int n){
		ft = new FatherTreeTopo(n);
		ct = new ChildrenTreeTopo(n);
	}
	
	public FastFCTreeTopo(FatherTreeTopo ftt, ChildrenTreeTopo ctt){
		ft = ftt;
		ct = ctt;
	}
	
	public void setRoot(int r){
		this.ct.root = r;
	}
	
	public int getRoot(){
		return ct.root;
	}
}
